#include "pinctrl.h"
#include "pinctrl_osdep.h"
#include "board_config.h"

/* PINCTRL_FUNC */
PINCTRL_FUNC(GPIO30, 0, FUNC0, PUPD_UP, 0);
PINCTRL_FUNC(GPIO31, 1, FUNC0, PUPD_UP, 0);
PINCTRL_FUNC(ETH_LINK_ACT, 1, FUNC1, PUPD_UP, 0);
PINCTRL_FUNC(GPIO32, 2, FUNC0, PUPD_UP, 0);
PINCTRL_FUNC(ETH_LINK_STA, 2, FUNC1, PUPD_UP, 0);
PINCTRL_FUNC(ETH_LINK_SPD, 2, FUNC2, PUPD_UP, 0);
PINCTRL_FUNC(UART0_TX, 3, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO33, 3, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(UART0_RX, 4, FUNC0, PUPD_UP, 0);
PINCTRL_FUNC(GPIO34, 4, FUNC1, PUPD_UP, 0);
PINCTRL_FUNC(I2C0_SCL, 5, FUNC0, PUPD_UP, 0);
PINCTRL_FUNC(GPIO35, 5, FUNC1, PUPD_UP, 0);
PINCTRL_FUNC(I2C0_SDA, 6, FUNC0, PUPD_UP, 0);
PINCTRL_FUNC(GPIO36, 6, FUNC1, PUPD_UP, 0);
PINCTRL_FUNC(I2C3_SCL, 7, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO64, 7, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SPI3_CLK, 7, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(I2C3_SDA, 8, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO65, 8, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SPI3_CSN0, 8, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(I2C4_SCL, 9, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO66, 9, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SPI3_TXD, 9, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(I2C4_SDA, 10, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO67, 10, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SPI3_RXD, 10, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(SENSOR0_CLK, 11, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO12, 11, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO13, 12, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(SENSOR0_HS, 13, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO68, 13, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SENSOR0_VS, 14, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO69, 14, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SENSOR1_CLK, 15, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO70, 15, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO71, 16, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(SENSOR1_HS, 17, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO72, 17, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(ETH_LINK_ACT, 17, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(SENSOR1_VS, 18, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO73, 18, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(ETH_LINK_STA, 18, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(UART1_TX, 19, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO39, 19, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_CLK, 19, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(UART1_RX, 20, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO40, 20, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_CD, 20, FUNC3, PUPD_UP, 0);
PINCTRL_FUNC(I2C1_SCL, 21, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO37, 21, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(PWM2, 21, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_CMD, 21, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(STM_H0, 21, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(SPI1_CLK, 21, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(I2C1_SDA, 22, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO38, 22, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(PWM3, 22, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_D0, 22, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(STM_H1, 22, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(SPI1_CSN0, 22, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(UART2_TX, 23, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO41, 23, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(PWM4, 23, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_D1, 23, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(STM_H2, 23, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(SPI1_TXD, 23, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(UART2_RX, 24, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO42, 24, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(PWM5, 24, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_D2, 24, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(STM_H3, 24, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(SPI1_RXD, 24, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(USB2_PWREN, 25, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO47, 25, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_D3, 25, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(PWM0, 26, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO43, 26, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(I2C2_SCL, 26, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(UART2_TX, 26, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(UART1_RTSN, 26, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(PWM1, 27, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO44, 27, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(I2C2_SDA, 27, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(UART2_RX, 27, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(UART1_CTSN, 27, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(PWM2, 28, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO45, 28, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(UART3_TX, 28, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(PWM3, 29, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO46, 29, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(UART3_RX, 29, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_RGMII_CLK, 30, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO48, 30, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_CLK, 30, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(PWM2, 30, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(STM_H0, 30, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_REF_CLK, 31, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(MAC_TXD0, 32, FUNC0, PUPD_NONE, 4);
PINCTRL_FUNC(GPIO49, 32, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_CD, 32, FUNC2, PUPD_UP, 0);
PINCTRL_FUNC(PWM3, 32, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(STM_H1, 32, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(VO_CLK, 32, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_TXD1, 33, FUNC0, PUPD_NONE, 4);
PINCTRL_FUNC(GPIO50, 33, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_CMD, 33, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(PWM4, 33, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(STM_H2, 33, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(VO_D0, 33, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_TXD2, 34, FUNC0, PUPD_NONE, 4);
PINCTRL_FUNC(GPIO75, 34, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(PWM12, 34, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(VO_D1, 34, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_TXD3, 35, FUNC0, PUPD_NONE, 4);
PINCTRL_FUNC(GPIO76, 35, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(PWM13, 35, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(VO_D2, 35, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_TX_CLK, 36, FUNC0, PUPD_NONE, 5);
PINCTRL_FUNC(GPIO77, 36, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(VO_D3, 36, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_TXEN, 37, FUNC0, PUPD_NONE, 4);
PINCTRL_FUNC(GPIO51, 37, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_D0, 37, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(PWM5, 37, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(STM_H3, 37, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(VO_D4, 37, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_RXD0, 38, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO52, 38, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_D1, 38, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(PWM6, 38, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(STM_V0, 38, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(VO_D5, 38, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_RXD1, 39, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO53, 39, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_D2, 39, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(PWM7, 39, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(STM_V1, 39, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(VO_D6, 39, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_RXD2, 40, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO78, 40, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(VO_D7, 40, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_RXD3, 41, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO79, 41, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(VO_HSYNC, 41, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_RX_CLK, 42, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO74, 42, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(VO_VSYNC, 42, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_RXDV, 43, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO54, 43, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_D3, 43, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(PWM8, 43, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(STM_V2, 43, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_MDC, 44, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO55, 44, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(PWM9, 44, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(STM_V3, 44, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_MDIO, 45, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO56, 45, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SD1_CLK, 46, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO57, 46, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(I2C1_SCL, 46, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(SD1_CD, 47, FUNC0, PUPD_UP, 3);
PINCTRL_FUNC(GPIO58, 47, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(I2C1_SDA, 47, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(SD1_RSTN, 47, FUNC3, PUPD_NONE, 3);
PINCTRL_FUNC(SD1_CMD, 48, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO59, 48, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(UART1_TX, 48, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(SD1_D0, 49, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO60, 49, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(UART1_RX, 49, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(SD1_D1, 50, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO61, 50, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(UART2_TX, 50, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(SD1_D2, 51, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO62, 51, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(UART2_RX, 51, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(SD1_D3, 52, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO63, 52, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(USB2_PWREN, 52, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO0, 53, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(AC_I2S_DO, 53, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(DW_I2S_DO, 53, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(SPI1_CLK, 53, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(SPI2_CLK, 53, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(ACIP_ADDAT, 53, FUNC6, PUPD_NONE, 0);
PINCTRL_FUNC(PWM6, 53, FUNC7, PUPD_NONE, 0);
PINCTRL_FUNC(STM_V0, 53, FUNC8, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO1, 54, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(AC_I2S_DI, 54, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(DW_I2S_DI, 54, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(SPI1_CSN0, 54, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(SPI2_CSN0, 54, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(ACIP_DADAT, 54, FUNC6, PUPD_NONE, 0);
PINCTRL_FUNC(PWM7, 54, FUNC7, PUPD_NONE, 0);
PINCTRL_FUNC(STM_V1, 54, FUNC8, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO2, 55, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(AC_I2S_CLK, 55, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(DW_I2S_CLK, 55, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(SPI1_TXD, 55, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(SPI2_TXD, 55, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(ACIP_ADBCLK, 55, FUNC6, PUPD_NONE, 0);
PINCTRL_FUNC(PWM8, 55, FUNC7, PUPD_NONE, 0);
PINCTRL_FUNC(STM_V2, 55, FUNC8, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO3, 56, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(AC_I2S_WS, 56, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(DW_I2S_WS, 56, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(SPI1_RXD, 56, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(SPI2_RXD, 56, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(ACIP_ADLRC, 56, FUNC6, PUPD_NONE, 0);
PINCTRL_FUNC(PWM9, 56, FUNC7, PUPD_NONE, 0);
PINCTRL_FUNC(STM_V3, 56, FUNC8, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO4, 57, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(AC_MCLK, 57, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(USB2_PWREN, 57, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(SPI0_CLK, 58, FUNC0, PUPD_UP, 4);
PINCTRL_FUNC(GPIO5, 58, FUNC1, PUPD_UP, 3);
PINCTRL_FUNC(SD1_CLK, 58, FUNC4, PUPD_UP, 3);
PINCTRL_FUNC(SPI0_CSN0, 59, FUNC0, PUPD_UP, 3);
PINCTRL_FUNC(GPIO6, 59, FUNC1, PUPD_UP, 3);
PINCTRL_FUNC(SD1_CMD, 59, FUNC4, PUPD_UP, 3);
PINCTRL_FUNC(SPI0_TXD, 60, FUNC0, PUPD_UP, 3);
PINCTRL_FUNC(GPIO7, 60, FUNC1, PUPD_UP, 3);
PINCTRL_FUNC(SD1_D0, 60, FUNC4, PUPD_UP, 3);
PINCTRL_FUNC(SPI0_RXD, 61, FUNC0, PUPD_UP, 3);
PINCTRL_FUNC(GPIO8, 61, FUNC1, PUPD_UP, 3);
PINCTRL_FUNC(SD1_D1, 61, FUNC4, PUPD_UP, 3);
PINCTRL_FUNC(SPI0_D2, 62, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO9, 62, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(UART1_TX, 62, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(I2C1_SCL, 62, FUNC3, PUPD_NONE, 3);
PINCTRL_FUNC(SD1_D2, 62, FUNC4, PUPD_NONE, 3);
PINCTRL_FUNC(SPI0_D3, 63, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO10, 63, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(UART1_RX, 63, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(I2C1_SDA, 63, FUNC3, PUPD_NONE, 3);
PINCTRL_FUNC(SD1_D3, 63, FUNC4, PUPD_NONE, 3);
PINCTRL_FUNC(SPI1_CLK, 64, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO11, 64, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SPI2_CLK, 64, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(SPI1_CSN0, 65, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO14, 65, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SPI2_CSN0, 65, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(SPI1_TXD, 66, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO15, 66, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SPI2_TXD, 66, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(SPI1_RXD, 67, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO16, 67, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SPI2_RXD, 67, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(SD0_CD, 68, FUNC0, PUPD_UP, 3);
PINCTRL_FUNC(GPIO17, 68, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(SD0_RSTN, 68, FUNC5, PUPD_NONE, 3);
PINCTRL_FUNC(SD0_CLK, 69, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO18, 69, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(SPI1_CLK, 69, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(SD0_CMD, 70, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO19, 70, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(SPI1_TXD, 70, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(SD0_D0, 71, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO20, 71, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(SPI1_RXD, 71, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(SD0_D1, 72, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO21, 72, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(SPI1_CSN0, 72, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(SD0_D2, 73, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO22, 73, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(UART2_TX, 73, FUNC3, PUPD_NONE, 3);
PINCTRL_FUNC(I2C2_SCL, 73, FUNC4, PUPD_NONE, 3);
PINCTRL_FUNC(UART1_RTSN, 73, FUNC5, PUPD_NONE, 3);
PINCTRL_FUNC(ACIP_DABCLK, 73, FUNC6, PUPD_NONE, 3);
PINCTRL_FUNC(SD0_D3, 74, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO23, 74, FUNC1, PUPD_NONE, 3);
PINCTRL_FUNC(SPI1_CSN0, 74, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(UART2_RX, 74, FUNC3, PUPD_NONE, 3);
PINCTRL_FUNC(I2C2_SDA, 74, FUNC4, PUPD_NONE, 3);
PINCTRL_FUNC(UART1_CTSN, 74, FUNC5, PUPD_NONE, 3);
PINCTRL_FUNC(ACIP_DALRC, 74, FUNC6, PUPD_NONE, 3);
PINCTRL_FUNC(SADC_IN0, 75, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO26, 75, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SADC_IN1, 76, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO27, 76, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SADC_IN2, 77, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO24, 77, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(SADC_IN3, 78, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO25, 78, FUNC1, PUPD_NONE, 0);
PINCTRL_FUNC(GPIO28, 79, FUNC0, PUPD_NONE, 3);
PINCTRL_FUNC(ETH_LINK_ACT, 79, FUNC2, PUPD_NONE, 3);
PINCTRL_FUNC(PWM10, 79, FUNC3, PUPD_NONE, 3);
PINCTRL_FUNC(SD1_RSTN, 79, FUNC5, PUPD_NONE, 3);
PINCTRL_FUNC(MAC_MDC, 79, FUNC7, PUPD_NONE, 3);
PINCTRL_FUNC(GPIO29, 80, FUNC0, PUPD_NONE, 0);
PINCTRL_FUNC(ETH_LINK_STA, 80, FUNC2, PUPD_NONE, 0);
PINCTRL_FUNC(PWM11, 80, FUNC3, PUPD_NONE, 0);
PINCTRL_FUNC(RTC_TEST_CLK, 80, FUNC4, PUPD_NONE, 0);
PINCTRL_FUNC(ETH_LINK_SPD, 80, FUNC5, PUPD_NONE, 0);
PINCTRL_FUNC(MAC_MDIO, 80, FUNC7, PUPD_NONE, 0);
PINCTRL_FUNC(MIPI0_RX_CKP, 81, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI0_RX_CKN, 82, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI0_RX_D0P, 83, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI0_RX_D0N, 84, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI0_RX_D1P, 85, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI0_RX_D1N, 86, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI0_RX_D2P, 87, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI0_RX_D2N, 88, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI0_RX_D3P, 89, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI0_RX_D3N, 90, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI1_RX_CK0P, 91, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(GPIO80, 91, FUNC1, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI1_RX_CK0N, 92, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(GPIO81, 92, FUNC1, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI1_RX_CK1P, 93, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(GPIO82, 93, FUNC1, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI1_RX_CK1N, 94, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(GPIO83, 94, FUNC1, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI1_RX_D0P, 95, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(GPIO84, 95, FUNC1, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI1_RX_D0N, 96, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(GPIO85, 96, FUNC1, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI1_RX_D1P, 97, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(GPIO86, 97, FUNC1, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI1_RX_D1N, 98, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(GPIO87, 98, FUNC1, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI1_RX_D2P, 99, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(GPIO88, 99, FUNC1, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI1_RX_D2N, 100, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(GPIO89, 100, FUNC1, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI1_RX_D3P, 101, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(GPIO90, 101, FUNC1, PUPD_NONE, 1);
PINCTRL_FUNC(MIPI1_RX_D3N, 102, FUNC0, PUPD_NONE, 1);
PINCTRL_FUNC(GPIO91, 102, FUNC1, PUPD_NONE, 1);


/* PINCTRL_MUX */

PINCTRL_MUX(AC_I2S_CLK, 0, &PAD55_AC_I2S_CLK);
PINCTRL_MUX(AC_I2S_DI, 0, &PAD54_AC_I2S_DI);
PINCTRL_MUX(AC_I2S_DO, 0, &PAD53_AC_I2S_DO);
PINCTRL_MUX(AC_I2S_WS, 0, &PAD56_AC_I2S_WS);
PINCTRL_MUX(AC_MCLK, 0, &PAD57_AC_MCLK);

PINCTRL_MUX(DW_I2S_CLK, 0, &PAD55_DW_I2S_CLK);
PINCTRL_MUX(DW_I2S_DI, 0, &PAD54_DW_I2S_DI);
PINCTRL_MUX(DW_I2S_DO, 0, &PAD53_DW_I2S_DO);
PINCTRL_MUX(DW_I2S_WS, 0, &PAD56_DW_I2S_WS);

PINCTRL_MUX(ETH_LINK_ACT, 2, &PAD1_ETH_LINK_ACT, &PAD17_ETH_LINK_ACT,
		&PAD79_ETH_LINK_ACT);
PINCTRL_MUX(ETH_LINK_SPD, 1, &PAD2_ETH_LINK_SPD, &PAD80_ETH_LINK_SPD);
PINCTRL_MUX(ETH_LINK_STA, 2, &PAD2_ETH_LINK_STA, &PAD18_ETH_LINK_STA,
		&PAD80_ETH_LINK_STA);

PINCTRL_MUX(I2C0_SCL, 0, &PAD5_I2C0_SCL);
PINCTRL_MUX(I2C0_SDA, 0, &PAD6_I2C0_SDA);

PINCTRL_MUX(I2C1_SCL, 0, &PAD21_I2C1_SCL, &PAD46_I2C1_SCL, &PAD62_I2C1_SCL);
PINCTRL_MUX(I2C1_SDA, 0, &PAD22_I2C1_SDA, &PAD47_I2C1_SDA, &PAD63_I2C1_SDA);

PINCTRL_MUX(I2C2_SCL, 0, &PAD26_I2C2_SCL, &PAD73_I2C2_SCL);
PINCTRL_MUX(I2C2_SDA, 0, &PAD27_I2C2_SDA, &PAD74_I2C2_SDA);

PINCTRL_MUX(I2C3_SCL, 0, &PAD7_I2C3_SCL);
PINCTRL_MUX(I2C3_SDA, 0, &PAD8_I2C3_SDA);

PINCTRL_MUX(I2C4_SCL, 0, &PAD9_I2C4_SCL);
PINCTRL_MUX(I2C4_SDA, 0, &PAD10_I2C4_SDA);

PINCTRL_MUX(MAC_MDC, 0, &PAD44_MAC_MDC, &PAD79_MAC_MDC);
PINCTRL_MUX(MAC_MDIO, 0, &PAD45_MAC_MDIO, &PAD80_MAC_MDIO);
PINCTRL_MUX(MAC_REF_CLK, 0, &PAD31_MAC_REF_CLK);
PINCTRL_MUX(MAC_RGMII_CLK, 0, &PAD30_MAC_RGMII_CLK);
PINCTRL_MUX(MAC_RXD0, 0, &PAD38_MAC_RXD0);
PINCTRL_MUX(MAC_RXD1, 0, &PAD39_MAC_RXD1);
PINCTRL_MUX(MAC_RXD2, 0, &PAD40_MAC_RXD2);
PINCTRL_MUX(MAC_RXD3, 0, &PAD41_MAC_RXD3);
PINCTRL_MUX(MAC_RXDV, 0, &PAD43_MAC_RXDV);
PINCTRL_MUX(MAC_RX_CLK, 0, &PAD42_MAC_RX_CLK);
PINCTRL_MUX(MAC_TXD0, 0, &PAD32_MAC_TXD0);
PINCTRL_MUX(MAC_TXD1, 0, &PAD33_MAC_TXD1);
PINCTRL_MUX(MAC_TXD2, 0, &PAD34_MAC_TXD2);
PINCTRL_MUX(MAC_TXD3, 0, &PAD35_MAC_TXD3);
PINCTRL_MUX(MAC_TXEN, 0, &PAD37_MAC_TXEN);
PINCTRL_MUX(MAC_TX_CLK, 0, &PAD36_MAC_TX_CLK);

PINCTRL_MUX(MIPI0_RX_CKN, 0, &PAD82_MIPI0_RX_CKN);
PINCTRL_MUX(MIPI0_RX_CKP, 0, &PAD81_MIPI0_RX_CKP);
PINCTRL_MUX(MIPI0_RX_D0N, 0, &PAD84_MIPI0_RX_D0N);
PINCTRL_MUX(MIPI0_RX_D0P, 0, &PAD83_MIPI0_RX_D0P);
PINCTRL_MUX(MIPI0_RX_D1N, 0, &PAD86_MIPI0_RX_D1N);
PINCTRL_MUX(MIPI0_RX_D1P, 0, &PAD85_MIPI0_RX_D1P);
PINCTRL_MUX(MIPI0_RX_D2N, 0, &PAD88_MIPI0_RX_D2N);
PINCTRL_MUX(MIPI0_RX_D2P, 0, &PAD87_MIPI0_RX_D2P);
PINCTRL_MUX(MIPI0_RX_D3N, 0, &PAD90_MIPI0_RX_D3N);
PINCTRL_MUX(MIPI0_RX_D3P, 0, &PAD89_MIPI0_RX_D3P);

PINCTRL_MUX(MIPI1_RX_CK0N, 0, &PAD92_MIPI1_RX_CK0N);
PINCTRL_MUX(MIPI1_RX_CK0P, 0, &PAD91_MIPI1_RX_CK0P);
PINCTRL_MUX(MIPI1_RX_CK1N, 0, &PAD94_MIPI1_RX_CK1N);
PINCTRL_MUX(MIPI1_RX_CK1P, 0, &PAD93_MIPI1_RX_CK1P);
PINCTRL_MUX(MIPI1_RX_D0N, 0, &PAD96_MIPI1_RX_D0N);
PINCTRL_MUX(MIPI1_RX_D0P, 0, &PAD95_MIPI1_RX_D0P);
PINCTRL_MUX(MIPI1_RX_D1N, 0, &PAD98_MIPI1_RX_D1N);
PINCTRL_MUX(MIPI1_RX_D1P, 0, &PAD97_MIPI1_RX_D1P);
PINCTRL_MUX(MIPI1_RX_D2N, 0, &PAD100_MIPI1_RX_D2N);
PINCTRL_MUX(MIPI1_RX_D2P, 0, &PAD99_MIPI1_RX_D2P);
PINCTRL_MUX(MIPI1_RX_D3N, 0, &PAD102_MIPI1_RX_D3N);
PINCTRL_MUX(MIPI1_RX_D3P, 0, &PAD101_MIPI1_RX_D3P);

PINCTRL_MUX(PWM0, 0, &PAD26_PWM0);
PINCTRL_MUX(PWM1, 0, &PAD27_PWM1);
PINCTRL_MUX(PWM10, 0, &PAD79_PWM10);
PINCTRL_MUX(PWM11, 0, &PAD80_PWM11);
PINCTRL_MUX(PWM12, 0, &PAD34_PWM12);
PINCTRL_MUX(PWM13, 0, &PAD35_PWM13);
PINCTRL_MUX(PWM2, 1, &PAD21_PWM2, &PAD28_PWM2, &PAD30_PWM2);
PINCTRL_MUX(PWM3, 1, &PAD22_PWM3, &PAD29_PWM3, &PAD32_PWM3);
PINCTRL_MUX(PWM4, 0, &PAD23_PWM4, &PAD33_PWM4);
PINCTRL_MUX(PWM5, 0, &PAD24_PWM5, &PAD37_PWM5);
PINCTRL_MUX(PWM6, 0, &PAD38_PWM6, &PAD53_PWM6);
PINCTRL_MUX(PWM7, 0, &PAD39_PWM7, &PAD54_PWM7);
PINCTRL_MUX(PWM8, 0, &PAD43_PWM8, &PAD55_PWM8);
PINCTRL_MUX(PWM9, 0, &PAD44_PWM9, &PAD56_PWM9);

PINCTRL_MUX(RTC_TEST_CLK, 0, &PAD80_RTC_TEST_CLK);

PINCTRL_MUX(SADC_IN0, 0, &PAD75_SADC_IN0);
PINCTRL_MUX(SADC_IN1, 0, &PAD76_SADC_IN1);
PINCTRL_MUX(SADC_IN2, 0, &PAD77_SADC_IN2);
PINCTRL_MUX(SADC_IN3, 0, &PAD78_SADC_IN3);

PINCTRL_MUX(SD0_CD, 0, &PAD68_SD0_CD);
PINCTRL_MUX(SD0_CLK, 0, &PAD69_SD0_CLK);
PINCTRL_MUX(SD0_CMD, 0, &PAD70_SD0_CMD);
PINCTRL_MUX(SD0_D0, 0, &PAD71_SD0_D0);
PINCTRL_MUX(SD0_D1, 0, &PAD72_SD0_D1);
PINCTRL_MUX(SD0_D2, 0, &PAD73_SD0_D2);
PINCTRL_MUX(SD0_D3, 0, &PAD74_SD0_D3);
PINCTRL_MUX(SD0_RSTN, 0, &PAD68_SD0_RSTN);

PINCTRL_MUX(SD1_CD, 2, &PAD20_SD1_CD, &PAD32_SD1_CD, &PAD47_SD1_CD);
PINCTRL_MUX(SD1_CLK, 2, &PAD19_SD1_CLK, &PAD30_SD1_CLK, &PAD46_SD1_CLK,
		&PAD58_SD1_CLK);
PINCTRL_MUX(SD1_CMD, 2, &PAD21_SD1_CMD, &PAD33_SD1_CMD, &PAD48_SD1_CMD,
		&PAD59_SD1_CMD);
PINCTRL_MUX(SD1_D0, 2, &PAD22_SD1_D0, &PAD37_SD1_D0, &PAD49_SD1_D0,
		&PAD60_SD1_D0);
PINCTRL_MUX(SD1_D1, 2, &PAD23_SD1_D1, &PAD38_SD1_D1, &PAD50_SD1_D1,
		&PAD61_SD1_D1);
PINCTRL_MUX(SD1_D2, 2, &PAD24_SD1_D2, &PAD39_SD1_D2, &PAD51_SD1_D2,
		&PAD62_SD1_D2);
PINCTRL_MUX(SD1_D3, 2, &PAD25_SD1_D3, &PAD43_SD1_D3, &PAD52_SD1_D3,
		&PAD63_SD1_D3);
PINCTRL_MUX(SD1_RSTN, 0, &PAD47_SD1_RSTN, &PAD79_SD1_RSTN);

PINCTRL_MUX(SENSOR0_CLK, 0, &PAD11_SENSOR0_CLK);
PINCTRL_MUX(SENSOR0_HS, 0, &PAD13_SENSOR0_HS);
PINCTRL_MUX(SENSOR0_VS, 0, &PAD14_SENSOR0_VS);

PINCTRL_MUX(SENSOR1_CLK, 0, &PAD15_SENSOR1_CLK);
PINCTRL_MUX(SENSOR1_HS, 0, &PAD17_SENSOR1_HS);
PINCTRL_MUX(SENSOR1_VS, 0, &PAD18_SENSOR1_VS);

PINCTRL_MUX(SPI0_CLK, 0, &PAD58_SPI0_CLK);
PINCTRL_MUX(SPI0_D2, 0, &PAD62_SPI0_D2);
PINCTRL_MUX(SPI0_D3, 0, &PAD63_SPI0_D3);
PINCTRL_MUX(SPI0_RXD, 0, &PAD61_SPI0_RXD);
PINCTRL_MUX(SPI0_TXD, 0, &PAD60_SPI0_TXD);

PINCTRL_MUX(SPI1_CLK, 2, &PAD21_SPI1_CLK, &PAD53_SPI1_CLK, &PAD64_SPI1_CLK,
		&PAD69_SPI1_CLK);
PINCTRL_MUX(SPI1_RXD, 2, &PAD24_SPI1_RXD, &PAD56_SPI1_RXD, &PAD67_SPI1_RXD,
		&PAD71_SPI1_RXD);
PINCTRL_MUX(SPI1_TXD, 2, &PAD23_SPI1_TXD, &PAD55_SPI1_TXD, &PAD66_SPI1_TXD,
		&PAD70_SPI1_TXD);

PINCTRL_MUX(SPI2_CLK, 0, &PAD53_SPI2_CLK, &PAD64_SPI2_CLK);
PINCTRL_MUX(SPI2_CSN0, 0, &PAD54_SPI2_CSN0, &PAD65_SPI2_CSN0);
PINCTRL_MUX(SPI2_RXD, 0, &PAD56_SPI2_RXD, &PAD67_SPI2_RXD);
PINCTRL_MUX(SPI2_TXD, 0, &PAD55_SPI2_TXD, &PAD66_SPI2_TXD);

PINCTRL_MUX(SPI3_CLK, 0, &PAD7_SPI3_CLK);
PINCTRL_MUX(SPI3_CSN0, 0, &PAD8_SPI3_CSN0);
PINCTRL_MUX(SPI3_RXD, 0, &PAD10_SPI3_RXD);
PINCTRL_MUX(SPI3_TXD, 0, &PAD9_SPI3_TXD);

PINCTRL_MUX(STM_H0, 0, &PAD21_STM_H0, &PAD30_STM_H0);
PINCTRL_MUX(STM_H1, 0, &PAD22_STM_H1, &PAD32_STM_H1);
PINCTRL_MUX(STM_H2, 0, &PAD23_STM_H2, &PAD33_STM_H2);
PINCTRL_MUX(STM_H3, 0, &PAD24_STM_H3, &PAD37_STM_H3);
PINCTRL_MUX(STM_V0, 1, &PAD38_STM_V0, &PAD53_STM_V0);
PINCTRL_MUX(STM_V1, 1, &PAD39_STM_V1, &PAD54_STM_V1);
PINCTRL_MUX(STM_V2, 1, &PAD43_STM_V2, &PAD55_STM_V2);
PINCTRL_MUX(STM_V3, 1, &PAD44_STM_V3, &PAD56_STM_V3);

PINCTRL_MUX(UART0_RX, 0, &PAD4_UART0_RX);
PINCTRL_MUX(UART0_TX, 0, &PAD3_UART0_TX);

PINCTRL_MUX(UART1_CTSN, 0, &PAD27_UART1_CTSN, &PAD74_UART1_CTSN);
PINCTRL_MUX(UART1_RTSN, 0, &PAD26_UART1_RTSN, &PAD73_UART1_RTSN);
PINCTRL_MUX(UART1_RX, 0, &PAD20_UART1_RX, &PAD49_UART1_RX, &PAD63_UART1_RX);
PINCTRL_MUX(UART1_TX, 0, &PAD19_UART1_TX, &PAD48_UART1_TX, &PAD62_UART1_TX);

PINCTRL_MUX(UART2_RX, 0, &PAD24_UART2_RX, &PAD27_UART2_RX, &PAD51_UART2_RX,
		&PAD74_UART2_RX);
PINCTRL_MUX(UART2_TX, 0, &PAD23_UART2_TX, &PAD26_UART2_TX, &PAD50_UART2_TX,
		&PAD73_UART2_TX);

PINCTRL_MUX(UART3_RX, 0, &PAD29_UART3_RX);
PINCTRL_MUX(UART3_TX, 0, &PAD28_UART3_TX);

PINCTRL_MUX(VO_CLK, 0, &PAD32_VO_CLK);
PINCTRL_MUX(VO_D0, 0, &PAD33_VO_D0);
PINCTRL_MUX(VO_D1, 0, &PAD34_VO_D1);
PINCTRL_MUX(VO_D2, 0, &PAD35_VO_D2);
PINCTRL_MUX(VO_D3, 0, &PAD36_VO_D3);
PINCTRL_MUX(VO_D4, 0, &PAD37_VO_D4);
PINCTRL_MUX(VO_D5, 0, &PAD38_VO_D5);
PINCTRL_MUX(VO_D6, 0, &PAD39_VO_D6);
PINCTRL_MUX(VO_D7, 0, &PAD40_VO_D7);
PINCTRL_MUX(VO_HSYNC, 0, &PAD41_VO_HSYNC);
PINCTRL_MUX(VO_VSYNC, 0, &PAD42_VO_VSYNC);

PINCTRL_MUX(GPIO0, 0, &PAD53_GPIO0);
PINCTRL_MUX(GPIO1, 0, &PAD54_GPIO1);
PINCTRL_MUX(GPIO2, 0, &PAD55_GPIO2);
PINCTRL_MUX(GPIO3, 0, &PAD56_GPIO3);
PINCTRL_MUX(GPIO4, 0, &PAD57_GPIO4);
PINCTRL_MUX(GPIO5, 0, &PAD58_GPIO5);
PINCTRL_MUX(GPIO6, 0, &PAD59_GPIO6);
PINCTRL_MUX(GPIO7, 0, &PAD60_GPIO7);
PINCTRL_MUX(GPIO8, 0, &PAD61_GPIO8);
PINCTRL_MUX(GPIO9, 0, &PAD62_GPIO9);
PINCTRL_MUX(GPIO10, 0, &PAD63_GPIO10);
PINCTRL_MUX(GPIO11, 0, &PAD64_GPIO11);
PINCTRL_MUX(GPIO12, 0, &PAD11_GPIO12);
PINCTRL_MUX(GPIO13, 0, &PAD12_GPIO13);
PINCTRL_MUX(GPIO14, 0, &PAD65_GPIO14);
PINCTRL_MUX(GPIO15, 0, &PAD66_GPIO15);
PINCTRL_MUX(GPIO16, 0, &PAD67_GPIO16);
PINCTRL_MUX(GPIO17, 0, &PAD68_GPIO17);
PINCTRL_MUX(GPIO18, 0, &PAD69_GPIO18);
PINCTRL_MUX(GPIO19, 0, &PAD70_GPIO19);
PINCTRL_MUX(GPIO20, 0, &PAD71_GPIO20);
PINCTRL_MUX(GPIO21, 0, &PAD72_GPIO21);
PINCTRL_MUX(GPIO22, 0, &PAD73_GPIO22);
PINCTRL_MUX(GPIO23, 0, &PAD74_GPIO23);
PINCTRL_MUX(GPIO24, 0, &PAD77_GPIO24);
PINCTRL_MUX(GPIO25, 0, &PAD78_GPIO25);
PINCTRL_MUX(GPIO26, 0, &PAD75_GPIO26);
PINCTRL_MUX(GPIO27, 0, &PAD76_GPIO27);
PINCTRL_MUX(GPIO28, 0, &PAD79_GPIO28);
PINCTRL_MUX(GPIO29, 0, &PAD80_GPIO29);
PINCTRL_MUX(GPIO30, 0, &PAD0_GPIO30);
PINCTRL_MUX(GPIO31, 0, &PAD1_GPIO31);
PINCTRL_MUX(GPIO32, 0, &PAD2_GPIO32);
PINCTRL_MUX(GPIO33, 0, &PAD3_GPIO33);
PINCTRL_MUX(GPIO34, 0, &PAD4_GPIO34);
PINCTRL_MUX(GPIO35, 0, &PAD5_GPIO35);
PINCTRL_MUX(GPIO36, 0, &PAD6_GPIO36);
PINCTRL_MUX(GPIO37, 0, &PAD21_GPIO37);
PINCTRL_MUX(GPIO38, 0, &PAD22_GPIO38);
PINCTRL_MUX(GPIO39, 0, &PAD19_GPIO39);
PINCTRL_MUX(GPIO40, 0, &PAD20_GPIO40);
PINCTRL_MUX(GPIO41, 0, &PAD23_GPIO41);
PINCTRL_MUX(GPIO42, 0, &PAD24_GPIO42);
PINCTRL_MUX(GPIO43, 0, &PAD26_GPIO43);
PINCTRL_MUX(GPIO44, 0, &PAD27_GPIO44);
PINCTRL_MUX(GPIO45, 0, &PAD28_GPIO45);
PINCTRL_MUX(GPIO46, 0, &PAD29_GPIO46);
PINCTRL_MUX(GPIO47, 0, &PAD25_GPIO47);
PINCTRL_MUX(GPIO48, 0, &PAD30_GPIO48);
PINCTRL_MUX(GPIO49, 0, &PAD32_GPIO49);
PINCTRL_MUX(GPIO50, 0, &PAD33_GPIO50);
PINCTRL_MUX(GPIO51, 0, &PAD37_GPIO51);
PINCTRL_MUX(GPIO52, 0, &PAD38_GPIO52);
PINCTRL_MUX(GPIO53, 0, &PAD39_GPIO53);
PINCTRL_MUX(GPIO54, 0, &PAD43_GPIO54);
PINCTRL_MUX(GPIO55, 0, &PAD44_GPIO55);
PINCTRL_MUX(GPIO56, 0, &PAD45_GPIO56);
PINCTRL_MUX(GPIO57, 0, &PAD46_GPIO57);
PINCTRL_MUX(GPIO58, 0, &PAD47_GPIO58);
PINCTRL_MUX(GPIO59, 0, &PAD48_GPIO59);
PINCTRL_MUX(GPIO60, 0, &PAD49_GPIO60);
PINCTRL_MUX(GPIO61, 0, &PAD50_GPIO61);
PINCTRL_MUX(GPIO62, 0, &PAD51_GPIO62);
PINCTRL_MUX(GPIO63, 0, &PAD52_GPIO63);
PINCTRL_MUX(GPIO64, 0, &PAD7_GPIO64);
PINCTRL_MUX(GPIO65, 0, &PAD8_GPIO65);
PINCTRL_MUX(GPIO66, 0, &PAD9_GPIO66);
PINCTRL_MUX(GPIO67, 0, &PAD10_GPIO67);
PINCTRL_MUX(GPIO68, 0, &PAD13_GPIO68);
PINCTRL_MUX(GPIO69, 0, &PAD14_GPIO69);
PINCTRL_MUX(GPIO70, 0, &PAD15_GPIO70);
PINCTRL_MUX(GPIO71, 0, &PAD16_GPIO71);
PINCTRL_MUX(GPIO72, 0, &PAD17_GPIO72);
PINCTRL_MUX(GPIO73, 0, &PAD18_GPIO73);
PINCTRL_MUX(GPIO74, 0, &PAD42_GPIO74);
PINCTRL_MUX(GPIO75, 0, &PAD34_GPIO75);
PINCTRL_MUX(GPIO76, 0, &PAD35_GPIO76);
PINCTRL_MUX(GPIO77, 0, &PAD36_GPIO77);
PINCTRL_MUX(GPIO78, 0, &PAD40_GPIO78);
PINCTRL_MUX(GPIO79, 0, &PAD41_GPIO79);
PINCTRL_MUX(GPIO80, 0, &PAD91_GPIO80);
PINCTRL_MUX(GPIO81, 0, &PAD92_GPIO81);
PINCTRL_MUX(GPIO82, 0, &PAD93_GPIO82);
PINCTRL_MUX(GPIO83, 0, &PAD94_GPIO83);
PINCTRL_MUX(GPIO84, 0, &PAD95_GPIO84);
PINCTRL_MUX(GPIO85, 0, &PAD96_GPIO85);
PINCTRL_MUX(GPIO86, 0, &PAD97_GPIO86);
PINCTRL_MUX(GPIO87, 0, &PAD98_GPIO87);
PINCTRL_MUX(GPIO88, 0, &PAD99_GPIO88);
PINCTRL_MUX(GPIO89, 0, &PAD100_GPIO89);
PINCTRL_MUX(GPIO90, 0, &PAD101_GPIO90);
PINCTRL_MUX(GPIO91, 0, &PAD102_GPIO91);

PINCTRL_MUX(SD1_CLK_EMMC, 2, &PAD19_SD1_CLK, &PAD30_SD1_CLK, &PAD46_SD1_CLK,
		&PAD58_SD1_CLK);
PINCTRL_MUX(SD1_CMD_EMMC, 2, &PAD21_SD1_CMD, &PAD33_SD1_CMD, &PAD48_SD1_CMD,
		&PAD59_SD1_CMD);
PINCTRL_MUX(SD1_D0_EMMC, 2, &PAD22_SD1_D0, &PAD37_SD1_D0, &PAD49_SD1_D0,
		&PAD60_SD1_D0);
PINCTRL_MUX(SD1_D1_EMMC, 2, &PAD23_SD1_D1, &PAD38_SD1_D1, &PAD50_SD1_D1,
		&PAD61_SD1_D1);
PINCTRL_MUX(SD1_D2_EMMC, 2, &PAD24_SD1_D2, &PAD39_SD1_D2, &PAD51_SD1_D2,
		&PAD62_SD1_D2);
PINCTRL_MUX(SD1_D3_EMMC, 2, &PAD25_SD1_D3, &PAD43_SD1_D3, &PAD52_SD1_D3,
		&PAD63_SD1_D3);
/* PINCTRL_DEVICE */
PINCTRL_DEVICE(ACI2S, 5, &MUX_AC_I2S_CLK, &MUX_AC_I2S_DI, &MUX_AC_I2S_DO,
		&MUX_AC_I2S_WS, &MUX_AC_MCLK);
PINCTRL_DEVICE(AC_MCLK, 1, &MUX_AC_MCLK);
PINCTRL_DEVICE(DWI2S, 4, &MUX_DW_I2S_CLK, &MUX_DW_I2S_DI, &MUX_DW_I2S_DO,
		&MUX_DW_I2S_WS);
PINCTRL_DEVICE(ETH, 2, &MUX_ETH_LINK_ACT, &MUX_ETH_LINK_STA);
PINCTRL_DEVICE(I2C0, 2, &MUX_I2C0_SCL, &MUX_I2C0_SDA);
PINCTRL_DEVICE(I2C1, 2, &MUX_I2C1_SCL, &MUX_I2C1_SDA);
PINCTRL_DEVICE(I2C2, 2, &MUX_I2C2_SCL, &MUX_I2C2_SDA);
PINCTRL_DEVICE(I2C3, 2, &MUX_I2C3_SCL, &MUX_I2C3_SDA);
PINCTRL_DEVICE(I2C4, 2, &MUX_I2C4_SCL, &MUX_I2C4_SDA);
PINCTRL_DEVICE(MIPI0, 10, &MUX_MIPI0_RX_CKN, &MUX_MIPI0_RX_CKP,
		&MUX_MIPI0_RX_D0N, &MUX_MIPI0_RX_D0P, &MUX_MIPI0_RX_D1N,
		&MUX_MIPI0_RX_D1P, &MUX_MIPI0_RX_D2N, &MUX_MIPI0_RX_D2P,
		&MUX_MIPI0_RX_D3N, &MUX_MIPI0_RX_D3P);
PINCTRL_DEVICE(MIPI1, 12, &MUX_MIPI1_RX_CK0N, &MUX_MIPI1_RX_CK0P,
		&MUX_MIPI1_RX_CK1N, &MUX_MIPI1_RX_CK1P, &MUX_MIPI1_RX_D0N,
		&MUX_MIPI1_RX_D0P, &MUX_MIPI1_RX_D1N, &MUX_MIPI1_RX_D1P,
		&MUX_MIPI1_RX_D2N, &MUX_MIPI1_RX_D2P, &MUX_MIPI1_RX_D3N,
		&MUX_MIPI1_RX_D3P);
PINCTRL_DEVICE(PWM0, 1, &MUX_PWM0);
PINCTRL_DEVICE(PWM1, 1, &MUX_PWM1);
PINCTRL_DEVICE(PWM10, 1, &MUX_PWM10);
PINCTRL_DEVICE(PWM11, 1, &MUX_PWM11);
PINCTRL_DEVICE(PWM12, 1, &MUX_PWM12);
PINCTRL_DEVICE(PWM13, 1, &MUX_PWM13);
PINCTRL_DEVICE(PWM2, 1, &MUX_PWM2);
PINCTRL_DEVICE(PWM3, 1, &MUX_PWM3);
PINCTRL_DEVICE(PWM4, 1, &MUX_PWM4);
PINCTRL_DEVICE(PWM5, 1, &MUX_PWM5);
PINCTRL_DEVICE(PWM6, 1, &MUX_PWM6);
PINCTRL_DEVICE(PWM7, 1, &MUX_PWM7);
PINCTRL_DEVICE(PWM8, 1, &MUX_PWM8);
PINCTRL_DEVICE(PWM9, 1, &MUX_PWM9);
PINCTRL_DEVICE(RGMII, 16, &MUX_MAC_MDC, &MUX_MAC_MDIO, &MUX_MAC_REF_CLK,
		&MUX_MAC_RGMII_CLK, &MUX_MAC_RXD0, &MUX_MAC_RXD1, &MUX_MAC_RXD2,
		&MUX_MAC_RXD3, &MUX_MAC_RXDV, &MUX_MAC_RX_CLK, &MUX_MAC_TXD0,
		&MUX_MAC_TXD1, &MUX_MAC_TXD2, &MUX_MAC_TXD3, &MUX_MAC_TXEN,
		&MUX_MAC_TX_CLK);
PINCTRL_DEVICE(RTC_TEST_CLK, 1, &MUX_RTC_TEST_CLK);
PINCTRL_DEVICE(SADC_IN0, 1, &MUX_SADC_IN0);
PINCTRL_DEVICE(SADC_IN1, 1, &MUX_SADC_IN1);
PINCTRL_DEVICE(SADC_IN2, 1, &MUX_SADC_IN2);
PINCTRL_DEVICE(SADC_IN3, 1, &MUX_SADC_IN3);
PINCTRL_DEVICE(SD0, 7, &MUX_SD0_CD, &MUX_SD0_CLK, &MUX_SD0_CMD, &MUX_SD0_D0,
		&MUX_SD0_D1, &MUX_SD0_D2, &MUX_SD0_D3);
PINCTRL_DEVICE(SD0_1BIT_NO_WP, 4, &MUX_SD0_CD, &MUX_SD0_CLK, &MUX_SD0_CMD,
		&MUX_SD0_D0);
PINCTRL_DEVICE(SD0_NO_WP, 7, &MUX_SD0_CD, &MUX_SD0_CLK, &MUX_SD0_CMD,
		&MUX_SD0_D0, &MUX_SD0_D1, &MUX_SD0_D2, &MUX_SD0_D3);
PINCTRL_DEVICE(SD0_WIFI, 6, &MUX_SD0_CLK, &MUX_SD0_CMD, &MUX_SD0_D0,
		&MUX_SD0_D1, &MUX_SD0_D2, &MUX_SD0_D3);
PINCTRL_DEVICE(SD1, 7, &MUX_SD1_CD, &MUX_SD1_CLK, &MUX_SD1_CMD, &MUX_SD1_D0,
		&MUX_SD1_D1, &MUX_SD1_D2, &MUX_SD1_D3);
PINCTRL_DEVICE(SD1_1BIT_NO_WP, 4, &MUX_SD1_CD, &MUX_SD1_CLK, &MUX_SD1_CMD,
		&MUX_SD1_D0);
PINCTRL_DEVICE(SD1_NO_WP, 7, &MUX_SD1_CD, &MUX_SD1_CLK, &MUX_SD1_CMD,
		&MUX_SD1_D0, &MUX_SD1_D1, &MUX_SD1_D2, &MUX_SD1_D3);
PINCTRL_DEVICE(SD1_WIFI, 6, &MUX_SD1_CLK, &MUX_SD1_CMD, &MUX_SD1_D0,
		&MUX_SD1_D1, &MUX_SD1_D2, &MUX_SD1_D3);
PINCTRL_DEVICE(SENSOR0_CLK, 1, &MUX_SENSOR0_CLK);
PINCTRL_DEVICE(SENSOR0_HS, 1, &MUX_SENSOR0_HS);
PINCTRL_DEVICE(SENSOR0_VS, 1, &MUX_SENSOR0_VS);
PINCTRL_DEVICE(SENSOR1_CLK, 1, &MUX_SENSOR1_CLK);
PINCTRL_DEVICE(SENSOR1_HS, 1, &MUX_SENSOR1_HS);
PINCTRL_DEVICE(SENSOR1_VS, 1, &MUX_SENSOR1_VS);
PINCTRL_DEVICE(SPI0, 4, &MUX_GPIO6, &MUX_SPI0_CLK, &MUX_SPI0_RXD,
		&MUX_SPI0_TXD);
PINCTRL_DEVICE(SPI0_4BIT, 6, &MUX_GPIO6, &MUX_SPI0_CLK, &MUX_SPI0_D2,
		&MUX_SPI0_D3, &MUX_SPI0_RXD, &MUX_SPI0_TXD);
PINCTRL_DEVICE(SPI1, 4, &MUX_GPIO14, &MUX_SPI1_CLK, &MUX_SPI1_RXD,
		&MUX_SPI1_TXD);
PINCTRL_DEVICE(SPI2, 4, &MUX_SPI2_CLK, &MUX_SPI2_CSN0, &MUX_SPI2_RXD,
		&MUX_SPI2_TXD);
PINCTRL_DEVICE(SPI3, 4, &MUX_SPI3_CLK, &MUX_SPI3_CSN0, &MUX_SPI3_RXD,
		&MUX_SPI3_TXD);
PINCTRL_DEVICE(STM0, 4, &MUX_STM_H0, &MUX_STM_H1, &MUX_STM_H2, &MUX_STM_H3);
PINCTRL_DEVICE(STM1, 4, &MUX_STM_V0, &MUX_STM_V1, &MUX_STM_V2, &MUX_STM_V3);
PINCTRL_DEVICE(UART0, 2, &MUX_UART0_RX, &MUX_UART0_TX);
PINCTRL_DEVICE(UART1, 2, &MUX_UART1_RX, &MUX_UART1_TX);
PINCTRL_DEVICE(UART1_FC, 4, &MUX_UART1_CTSN, &MUX_UART1_RTSN, &MUX_UART1_RX,
		&MUX_UART1_TX);
PINCTRL_DEVICE(UART2, 2, &MUX_UART2_RX, &MUX_UART2_TX);
PINCTRL_DEVICE(UART3, 2, &MUX_UART3_RX, &MUX_UART3_TX);
PINCTRL_DEVICE(VO, 11, &MUX_VO_CLK, &MUX_VO_D0, &MUX_VO_D1, &MUX_VO_D2,
		&MUX_VO_D3, &MUX_VO_D4, &MUX_VO_D5, &MUX_VO_D6, &MUX_VO_D7,
		&MUX_VO_HSYNC, &MUX_VO_VSYNC);
PINCTRL_DEVICE(GPIO0, 1, &MUX_GPIO0);
PINCTRL_DEVICE(GPIO1, 1, &MUX_GPIO1);
PINCTRL_DEVICE(GPIO2, 1, &MUX_GPIO2);
PINCTRL_DEVICE(GPIO3, 1, &MUX_GPIO3);
PINCTRL_DEVICE(GPIO4, 1, &MUX_GPIO4);
PINCTRL_DEVICE(GPIO5, 1, &MUX_GPIO5);
PINCTRL_DEVICE(GPIO6, 1, &MUX_GPIO6);
PINCTRL_DEVICE(GPIO7, 1, &MUX_GPIO7);
PINCTRL_DEVICE(GPIO8, 1, &MUX_GPIO8);
PINCTRL_DEVICE(GPIO9, 1, &MUX_GPIO9);
PINCTRL_DEVICE(GPIO10, 1, &MUX_GPIO10);
PINCTRL_DEVICE(GPIO11, 1, &MUX_GPIO11);
PINCTRL_DEVICE(GPIO12, 1, &MUX_GPIO12);
PINCTRL_DEVICE(GPIO13, 1, &MUX_GPIO13);
PINCTRL_DEVICE(GPIO14, 1, &MUX_GPIO14);
PINCTRL_DEVICE(GPIO15, 1, &MUX_GPIO15);
PINCTRL_DEVICE(GPIO16, 1, &MUX_GPIO16);
PINCTRL_DEVICE(GPIO17, 1, &MUX_GPIO17);
PINCTRL_DEVICE(GPIO18, 1, &MUX_GPIO18);
PINCTRL_DEVICE(GPIO19, 1, &MUX_GPIO19);
PINCTRL_DEVICE(GPIO20, 1, &MUX_GPIO20);
PINCTRL_DEVICE(GPIO21, 1, &MUX_GPIO21);
PINCTRL_DEVICE(GPIO22, 1, &MUX_GPIO22);
PINCTRL_DEVICE(GPIO23, 1, &MUX_GPIO23);
PINCTRL_DEVICE(GPIO24, 1, &MUX_GPIO24);
PINCTRL_DEVICE(GPIO25, 1, &MUX_GPIO25);
PINCTRL_DEVICE(GPIO26, 1, &MUX_GPIO26);
PINCTRL_DEVICE(GPIO27, 1, &MUX_GPIO27);
PINCTRL_DEVICE(GPIO28, 1, &MUX_GPIO28);
PINCTRL_DEVICE(GPIO29, 1, &MUX_GPIO29);
PINCTRL_DEVICE(GPIO30, 1, &MUX_GPIO30);
PINCTRL_DEVICE(GPIO31, 1, &MUX_GPIO31);
PINCTRL_DEVICE(GPIO32, 1, &MUX_GPIO32);
PINCTRL_DEVICE(GPIO33, 1, &MUX_GPIO33);
PINCTRL_DEVICE(GPIO34, 1, &MUX_GPIO34);
PINCTRL_DEVICE(GPIO35, 1, &MUX_GPIO35);
PINCTRL_DEVICE(GPIO36, 1, &MUX_GPIO36);
PINCTRL_DEVICE(GPIO37, 1, &MUX_GPIO37);
PINCTRL_DEVICE(GPIO38, 1, &MUX_GPIO38);
PINCTRL_DEVICE(GPIO39, 1, &MUX_GPIO39);
PINCTRL_DEVICE(GPIO40, 1, &MUX_GPIO40);
PINCTRL_DEVICE(GPIO41, 1, &MUX_GPIO41);
PINCTRL_DEVICE(GPIO42, 1, &MUX_GPIO42);
PINCTRL_DEVICE(GPIO43, 1, &MUX_GPIO43);
PINCTRL_DEVICE(GPIO44, 1, &MUX_GPIO44);
PINCTRL_DEVICE(GPIO45, 1, &MUX_GPIO45);
PINCTRL_DEVICE(GPIO46, 1, &MUX_GPIO46);
PINCTRL_DEVICE(GPIO47, 1, &MUX_GPIO47);
PINCTRL_DEVICE(GPIO48, 1, &MUX_GPIO48);
PINCTRL_DEVICE(GPIO49, 1, &MUX_GPIO49);
PINCTRL_DEVICE(GPIO50, 1, &MUX_GPIO50);
PINCTRL_DEVICE(GPIO51, 1, &MUX_GPIO51);
PINCTRL_DEVICE(GPIO52, 1, &MUX_GPIO52);
PINCTRL_DEVICE(GPIO53, 1, &MUX_GPIO53);
PINCTRL_DEVICE(GPIO54, 1, &MUX_GPIO54);
PINCTRL_DEVICE(GPIO55, 1, &MUX_GPIO55);
PINCTRL_DEVICE(GPIO56, 1, &MUX_GPIO56);
PINCTRL_DEVICE(GPIO57, 1, &MUX_GPIO57);
PINCTRL_DEVICE(GPIO58, 1, &MUX_GPIO58);
PINCTRL_DEVICE(GPIO59, 1, &MUX_GPIO59);
PINCTRL_DEVICE(GPIO60, 1, &MUX_GPIO60);
PINCTRL_DEVICE(GPIO61, 1, &MUX_GPIO61);
PINCTRL_DEVICE(GPIO62, 1, &MUX_GPIO62);
PINCTRL_DEVICE(GPIO63, 1, &MUX_GPIO63);
PINCTRL_DEVICE(GPIO64, 1, &MUX_GPIO64);
PINCTRL_DEVICE(GPIO65, 1, &MUX_GPIO65);
PINCTRL_DEVICE(GPIO66, 1, &MUX_GPIO66);
PINCTRL_DEVICE(GPIO67, 1, &MUX_GPIO67);
PINCTRL_DEVICE(GPIO68, 1, &MUX_GPIO68);
PINCTRL_DEVICE(GPIO69, 1, &MUX_GPIO69);
PINCTRL_DEVICE(GPIO70, 1, &MUX_GPIO70);
PINCTRL_DEVICE(GPIO71, 1, &MUX_GPIO71);
PINCTRL_DEVICE(GPIO72, 1, &MUX_GPIO72);
PINCTRL_DEVICE(GPIO73, 1, &MUX_GPIO73);
PINCTRL_DEVICE(GPIO74, 1, &MUX_GPIO74);
PINCTRL_DEVICE(GPIO75, 1, &MUX_GPIO75);
PINCTRL_DEVICE(GPIO76, 1, &MUX_GPIO76);
PINCTRL_DEVICE(GPIO77, 1, &MUX_GPIO77);
PINCTRL_DEVICE(GPIO78, 1, &MUX_GPIO78);
PINCTRL_DEVICE(GPIO79, 1, &MUX_GPIO79);
PINCTRL_DEVICE(GPIO80, 1, &MUX_GPIO80);
PINCTRL_DEVICE(GPIO81, 1, &MUX_GPIO81);
PINCTRL_DEVICE(GPIO82, 1, &MUX_GPIO82);
PINCTRL_DEVICE(GPIO83, 1, &MUX_GPIO83);
PINCTRL_DEVICE(GPIO84, 1, &MUX_GPIO84);
PINCTRL_DEVICE(GPIO85, 1, &MUX_GPIO85);
PINCTRL_DEVICE(GPIO86, 1, &MUX_GPIO86);
PINCTRL_DEVICE(GPIO87, 1, &MUX_GPIO87);
PINCTRL_DEVICE(GPIO88, 1, &MUX_GPIO88);
PINCTRL_DEVICE(GPIO89, 1, &MUX_GPIO89);
PINCTRL_DEVICE(GPIO90, 1, &MUX_GPIO90);
PINCTRL_DEVICE(GPIO91, 1, &MUX_GPIO91);

PINCTRL_DEVICE(SD1_EMMC, 7, &MUX_SD1_CLK_EMMC, &MUX_SD1_CMD_EMMC,
	&MUX_SD1_D0_EMMC, &MUX_SD1_D1_EMMC, &MUX_SD1_D2_EMMC,
	&MUX_SD1_D3_EMMC, &MUX_SD1_RSTN);

void fh_pinctrl_init_devicelist(OS_LIST *list)
{
	OS_LIST_EMPTY(list);

	/*PINCTRL_ADD_DEVICE*/
	PINCTRL_ADD_DEVICE(ACI2S);
	PINCTRL_ADD_DEVICE(AC_MCLK);
	PINCTRL_ADD_DEVICE(DWI2S);
	PINCTRL_ADD_DEVICE(ETH);
	PINCTRL_ADD_DEVICE(I2C0);
	PINCTRL_ADD_DEVICE(I2C1);
	PINCTRL_ADD_DEVICE(I2C2);
	PINCTRL_ADD_DEVICE(I2C3);
	PINCTRL_ADD_DEVICE(I2C4);
	PINCTRL_ADD_DEVICE(MIPI0);
	PINCTRL_ADD_DEVICE(MIPI1);
	PINCTRL_ADD_DEVICE(PWM0);
	PINCTRL_ADD_DEVICE(PWM1);
	PINCTRL_ADD_DEVICE(PWM10);
	PINCTRL_ADD_DEVICE(PWM11);
	PINCTRL_ADD_DEVICE(PWM12);
	PINCTRL_ADD_DEVICE(PWM13);
	PINCTRL_ADD_DEVICE(PWM2);
	PINCTRL_ADD_DEVICE(PWM3);
	PINCTRL_ADD_DEVICE(PWM4);
	PINCTRL_ADD_DEVICE(PWM5);
	PINCTRL_ADD_DEVICE(PWM6);
	PINCTRL_ADD_DEVICE(PWM7);
	PINCTRL_ADD_DEVICE(PWM8);
	PINCTRL_ADD_DEVICE(PWM9);
	PINCTRL_ADD_DEVICE(RGMII);
	PINCTRL_ADD_DEVICE(RTC_TEST_CLK);
	PINCTRL_ADD_DEVICE(SADC_IN0);
	PINCTRL_ADD_DEVICE(SADC_IN1);
	PINCTRL_ADD_DEVICE(SADC_IN2);
	PINCTRL_ADD_DEVICE(SADC_IN3);
	PINCTRL_ADD_DEVICE(SD0);
	PINCTRL_ADD_DEVICE(SD0_1BIT_NO_WP);
	PINCTRL_ADD_DEVICE(SD0_NO_WP);
	PINCTRL_ADD_DEVICE(SD0_WIFI);
	PINCTRL_ADD_DEVICE(SD1);
	PINCTRL_ADD_DEVICE(SD1_1BIT_NO_WP);
	PINCTRL_ADD_DEVICE(SD1_NO_WP);
	PINCTRL_ADD_DEVICE(SD1_WIFI);
	PINCTRL_ADD_DEVICE(SENSOR0_CLK);
	PINCTRL_ADD_DEVICE(SENSOR0_HS);
	PINCTRL_ADD_DEVICE(SENSOR0_VS);
	PINCTRL_ADD_DEVICE(SENSOR1_CLK);
	PINCTRL_ADD_DEVICE(SENSOR1_HS);
	PINCTRL_ADD_DEVICE(SENSOR1_VS);
	PINCTRL_ADD_DEVICE(SPI0);
	PINCTRL_ADD_DEVICE(SPI0_4BIT);
	PINCTRL_ADD_DEVICE(SPI1);
	PINCTRL_ADD_DEVICE(SPI2);
	PINCTRL_ADD_DEVICE(SPI3);
	PINCTRL_ADD_DEVICE(STM0);
	PINCTRL_ADD_DEVICE(STM1);
	PINCTRL_ADD_DEVICE(UART0);
	PINCTRL_ADD_DEVICE(UART1);
	PINCTRL_ADD_DEVICE(UART1_FC);
	PINCTRL_ADD_DEVICE(UART2);
	PINCTRL_ADD_DEVICE(UART3);
	PINCTRL_ADD_DEVICE(VO);
	PINCTRL_ADD_DEVICE(GPIO0);
	PINCTRL_ADD_DEVICE(GPIO1);
	PINCTRL_ADD_DEVICE(GPIO2);
	PINCTRL_ADD_DEVICE(GPIO3);
	PINCTRL_ADD_DEVICE(GPIO4);
	PINCTRL_ADD_DEVICE(GPIO5);
	PINCTRL_ADD_DEVICE(GPIO6);
	PINCTRL_ADD_DEVICE(GPIO7);
	PINCTRL_ADD_DEVICE(GPIO8);
	PINCTRL_ADD_DEVICE(GPIO9);
	PINCTRL_ADD_DEVICE(GPIO10);
	PINCTRL_ADD_DEVICE(GPIO11);
	PINCTRL_ADD_DEVICE(GPIO12);
	PINCTRL_ADD_DEVICE(GPIO13);
	PINCTRL_ADD_DEVICE(GPIO14);
	PINCTRL_ADD_DEVICE(GPIO15);
	PINCTRL_ADD_DEVICE(GPIO16);
	PINCTRL_ADD_DEVICE(GPIO17);
	PINCTRL_ADD_DEVICE(GPIO18);
	PINCTRL_ADD_DEVICE(GPIO19);
	PINCTRL_ADD_DEVICE(GPIO20);
	PINCTRL_ADD_DEVICE(GPIO21);
	PINCTRL_ADD_DEVICE(GPIO22);
	PINCTRL_ADD_DEVICE(GPIO23);
	PINCTRL_ADD_DEVICE(GPIO24);
	PINCTRL_ADD_DEVICE(GPIO25);
	PINCTRL_ADD_DEVICE(GPIO26);
	PINCTRL_ADD_DEVICE(GPIO27);
	PINCTRL_ADD_DEVICE(GPIO28);
	PINCTRL_ADD_DEVICE(GPIO29);
	PINCTRL_ADD_DEVICE(GPIO30);
	PINCTRL_ADD_DEVICE(GPIO31);
	PINCTRL_ADD_DEVICE(GPIO32);
	PINCTRL_ADD_DEVICE(GPIO33);
	PINCTRL_ADD_DEVICE(GPIO34);
	PINCTRL_ADD_DEVICE(GPIO35);
	PINCTRL_ADD_DEVICE(GPIO36);
	PINCTRL_ADD_DEVICE(GPIO37);
	PINCTRL_ADD_DEVICE(GPIO38);
	PINCTRL_ADD_DEVICE(GPIO39);
	PINCTRL_ADD_DEVICE(GPIO40);
	PINCTRL_ADD_DEVICE(GPIO41);
	PINCTRL_ADD_DEVICE(GPIO42);
	PINCTRL_ADD_DEVICE(GPIO43);
	PINCTRL_ADD_DEVICE(GPIO44);
	PINCTRL_ADD_DEVICE(GPIO45);
	PINCTRL_ADD_DEVICE(GPIO46);
	PINCTRL_ADD_DEVICE(GPIO47);
	PINCTRL_ADD_DEVICE(GPIO48);
	PINCTRL_ADD_DEVICE(GPIO49);
	PINCTRL_ADD_DEVICE(GPIO50);
	PINCTRL_ADD_DEVICE(GPIO51);
	PINCTRL_ADD_DEVICE(GPIO52);
	PINCTRL_ADD_DEVICE(GPIO53);
	PINCTRL_ADD_DEVICE(GPIO54);
	PINCTRL_ADD_DEVICE(GPIO55);
	PINCTRL_ADD_DEVICE(GPIO56);
	PINCTRL_ADD_DEVICE(GPIO57);
	PINCTRL_ADD_DEVICE(GPIO58);
	PINCTRL_ADD_DEVICE(GPIO59);
	PINCTRL_ADD_DEVICE(GPIO60);
	PINCTRL_ADD_DEVICE(GPIO61);
	PINCTRL_ADD_DEVICE(GPIO62);
	PINCTRL_ADD_DEVICE(GPIO63);
	PINCTRL_ADD_DEVICE(GPIO64);
	PINCTRL_ADD_DEVICE(GPIO65);
	PINCTRL_ADD_DEVICE(GPIO66);
	PINCTRL_ADD_DEVICE(GPIO67);
	PINCTRL_ADD_DEVICE(GPIO68);
	PINCTRL_ADD_DEVICE(GPIO69);
	PINCTRL_ADD_DEVICE(GPIO70);
	PINCTRL_ADD_DEVICE(GPIO71);
	PINCTRL_ADD_DEVICE(GPIO72);
	PINCTRL_ADD_DEVICE(GPIO73);
	PINCTRL_ADD_DEVICE(GPIO74);
	PINCTRL_ADD_DEVICE(GPIO75);
	PINCTRL_ADD_DEVICE(GPIO76);
	PINCTRL_ADD_DEVICE(GPIO77);
	PINCTRL_ADD_DEVICE(GPIO78);
	PINCTRL_ADD_DEVICE(GPIO79);
	PINCTRL_ADD_DEVICE(GPIO80);
	PINCTRL_ADD_DEVICE(GPIO81);
	PINCTRL_ADD_DEVICE(GPIO82);
	PINCTRL_ADD_DEVICE(GPIO83);
	PINCTRL_ADD_DEVICE(GPIO84);
	PINCTRL_ADD_DEVICE(GPIO85);
	PINCTRL_ADD_DEVICE(GPIO86);
	PINCTRL_ADD_DEVICE(GPIO87);
	PINCTRL_ADD_DEVICE(GPIO88);
	PINCTRL_ADD_DEVICE(GPIO89);
	PINCTRL_ADD_DEVICE(GPIO90);
	PINCTRL_ADD_DEVICE(GPIO91);

	PINCTRL_ADD_DEVICE(SD1_EMMC);
}

char* fh_pinctrl_selected_devices[] =
{
	CONFIG_PINCTRL_SELECT
};
